package com.situ.mall.mapper;

import com.situ.mall.pojo.entity.Draw;

public interface DrawMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Draw record);

    int insertSelective(Draw record);

    Draw selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Draw record);

    int updateByPrimaryKey(Draw record);

    void addNumber(Integer userId);

    Draw drawNumber(Integer userId);

    void reduceDrawNumber(Integer userId);

    Draw selectByUserId(Integer userId);

    void deleteById(Integer id);
}